package com.link.base.base.dailystatement.model;

import com.link.core.basic.model.BasicModel;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
/**
 * 日结账单详情对象
 *
 * @author  安小波
 * @date:   2018-08-01
 * @version 1.0
 */

public class DailyDetail extends BasicModel {
    /**
     * 日结时间
     */
    private String dailyDate;
    /**
     * 制单人
     */
    private String operator;
    /**
     * 销售金额
     */
    private BigDecimal salesAmount;
    /**
     * 退货金额
     */
    private BigDecimal returnAmount;
    /**
     * 退货金额
     */
    private BigDecimal receivedAmount;
    /**
     * 银联收款
     */
    private BigDecimal unionpay;
    /**
     * 支付宝收款
     */
    private BigDecimal alipay;
    /**
     * 微信收款
     */
    private BigDecimal wechat;
    /**
     * 现金收款
     */
    private BigDecimal cash;
    /**
     * 退款金额
     */
    private BigDecimal refundAmount;
    /**
     * 银联退款
     */
    private BigDecimal unionpayRefund;
    /**
     * 支付宝退款
     */
    private BigDecimal alipayRefund;
    /**
     * 微信退款
     */
    private BigDecimal wechatRefund;
    /**
     * 现金退款
     */
    private BigDecimal cashRefund;
    /**
     * 开票金额
     */
    private BigDecimal invoicedAmount;
    /**
     * 销票金额
     */
    private BigDecimal destroyAmount;
    /**
     * 入库
     */
    private Integer inStock;
    /**
     * 出库
     */
    private Integer outStock;
    /**
     * 当前库存
     */
    private Integer currentInvtxn;
    /**
     * 父id
     */
    private Long headId;
    /**
     * 日结的查询时间
     */
    private String queryDate;
    /**
     * 仓库所有者id
     */
    private Long acctId;

    private List<DailyInvoice> dailyInvoiceList = new ArrayList<DailyInvoice>();
    private List<DailyReceipt> dailyReceiptList = new ArrayList<DailyReceipt>();
    private List<DailyInvtxn> dailyInvtxnList = new ArrayList<DailyInvtxn>();

    public String getDailyDate() {
        return dailyDate;
    }

    public void setDailyDate(String dailyDate) {
        this.dailyDate = dailyDate;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public BigDecimal getSalesAmount() {
        return salesAmount;
    }

    public void setSalesAmount(BigDecimal salesAmount) {
        this.salesAmount = salesAmount;
    }

    public BigDecimal getReturnAmount() {
        return returnAmount;
    }

    public void setReturnAmount(BigDecimal returnAmount) {
        this.returnAmount = returnAmount;
    }

    public BigDecimal getReceivedAmount() {
        return receivedAmount;
    }

    public void setReceivedAmount(BigDecimal receivedAmount) {
        this.receivedAmount = receivedAmount;
    }

    public BigDecimal getUnionpay() {
        return unionpay;
    }

    public void setUnionpay(BigDecimal unionpay) {
        this.unionpay = unionpay;
    }

    public BigDecimal getAlipay() {
        return alipay;
    }

    public void setAlipay(BigDecimal alipay) {
        this.alipay = alipay;
    }

    public BigDecimal getWechat() {
        return wechat;
    }

    public void setWechat(BigDecimal wechat) {
        this.wechat = wechat;
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

    public BigDecimal getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.refundAmount = refundAmount;
    }

    public BigDecimal getUnionpayRefund() {
        return unionpayRefund;
    }

    public void setUnionpayRefund(BigDecimal unionpayRefund) {
        this.unionpayRefund = unionpayRefund;
    }

    public BigDecimal getAlipayRefund() {
        return alipayRefund;
    }

    public void setAlipayRefund(BigDecimal alipayRefund) {
        this.alipayRefund = alipayRefund;
    }

    public BigDecimal getWechatRefund() {
        return wechatRefund;
    }

    public void setWechatRefund(BigDecimal wechatRefund) {
        this.wechatRefund = wechatRefund;
    }

    public BigDecimal getCashRefund() {
        return cashRefund;
    }

    public void setCashRefund(BigDecimal cashRefund) {
        this.cashRefund = cashRefund;
    }

    public BigDecimal getInvoicedAmount() {
        return invoicedAmount;
    }

    public void setInvoicedAmount(BigDecimal invoicedAmount) {
        this.invoicedAmount = invoicedAmount;
    }

    public BigDecimal getDestroyAmount() {
        return destroyAmount;
    }

    public void setDestroyAmount(BigDecimal destroyAmount) {
        this.destroyAmount = destroyAmount;
    }

    public Integer getInStock() {
        return inStock;
    }

    public void setInStock(Integer inStock) {
        this.inStock = inStock;
    }

    public Integer getOutStock() {
        return outStock;
    }

    public void setOutStock(Integer outStock) {
        this.outStock = outStock;
    }

    public Long getHeadId() {
        return headId;
    }

    public void setHeadId(Long headId) {
        this.headId = headId;
    }

    public List<DailyInvoice> getDailyInvoiceList() {
        return dailyInvoiceList;
    }

    public void setDailyInvoiceList(List<DailyInvoice> dailyInvoiceList) {
        this.dailyInvoiceList = dailyInvoiceList;
    }

    public List<DailyReceipt> getDailyReceiptList() {
        return dailyReceiptList;
    }

    public void setDailyReceiptList(List<DailyReceipt> dailyReceiptList) {
        this.dailyReceiptList = dailyReceiptList;
    }

    public List<DailyInvtxn> getDailyInvtxnList() {
        return dailyInvtxnList;
    }

    public void setDailyInvtxnList(List<DailyInvtxn> dailyInvtxnList) {
        this.dailyInvtxnList = dailyInvtxnList;
    }

    public String getQueryDate() {
        return queryDate;
    }

    public void setQueryDate(String queryDate) {
        this.queryDate = queryDate;
    }

    public Integer getCurrentInvtxn() {
        return currentInvtxn;
    }

    public void setCurrentInvtxn(Integer currentInvtxn) {
        this.currentInvtxn = currentInvtxn;
    }

    public Long getAcctId() {
        return acctId;
    }

    public void setAcctId(Long acctId) {
        this.acctId = acctId;
    }
}
